import request from '@/utils/request'
const api_name = '/admin/product/region'

//查询全部
export const finAllList = () => {
  return request({
    url: `${api_name}/list`,
    method: 'get',
  })
}
//excel导出
export const exportExcelData = () => {
  return request({
    url: `${api_name}/export-data`,
    method: 'get',
    responseType: 'blob'
  })
}
//excel导入
export const importExcelData = () => {
  return request({
    url: `${api_name}/importData`,
    method: 'post',
  })
}